home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 1
/
QRZ Ham Radio Callsign Database - December 1993.iso
/
unix
/
makefile
< prev
next >
Wrap
Makefile
|
1993-09-21
|
423b
|
27 lines
LIBS = cblib.a
HDRS = cb.h
LIBOBJS= pcall.o token.o namefind.o clook.o jtod.o
PROGS = call nucall mknlist nsort pick mkalist
RANLIB= ranlib
#RANLIB= touch
OBJS = $(PROGS:=.o)
CFLAGS = -g -DSEEK_SET=0 -DSEEK_END=2
#CFLAGS = -DSEEK_SET=0 -DSEEK_END=2
all: $(LIBS) $(PROGS)
$(PROGS): $$@.o $(LIBS)
$(CC) $(CFLAGS) -o $@ $@.o $(LIBS)
$(LIBS): $(LIBOBJS)
ar rv cblib.a $(LIBOBJS)
$(RANLIB) cblib.a
$(OBJS): $(HDRS)